package pc.nick.server.process;

import pc.nick.http.HttpServletRequest;
import pc.nick.http.HttpServletResponse;

/**
 * 处理器
 * 处理请求的接口
 */
public interface Processor {

    /**
     * 处理请求,给出响应
     * @param request 请求
     * @param response 响应
     */
    void process(HttpServletRequest request, HttpServletResponse response);
}
